package com.sdhs.analyze.bean.monitorinfo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
public class RsuHourSuccessRate implements Serializable {

    private String orgId;

    private String orgName;

    private int orgType;

    private String transDate;

    private String transHour;

    private Long totalCnt;

    private Long successCnt;

    private Long failCnt;

    private int successRate;

    private Long cpcSuccessCnt;

    private Long cpcFailCnt;

    private Long totalCpcCnt;

    private int cpcSuccessRate;

    private Map<String, Integer> cpcSpecialTypeSum;

    private Long etcSuccessCnt;

    private Long etcFailCnt;

    private Long totalEtcCnt;

    private int etcSuccessRate;

    private Map<String, Integer> etcSpecialTypeSum;

    private int etcStatus;

    private int cpcStatus;

    private int rsuStatus;

    public RsuHourSuccessRate() {
        super();
    }

    public RsuHourSuccessRate(String orgId, int orgType, String transDate, String transHour) {
        super();
        setOrgId(orgId);
        setOrgType(orgType);
        setTransDate(transDate);
        setTransHour(transHour);
        setSuccessCnt(0L);
        setFailCnt(0L);
        setCpcSuccessCnt(0L);
        setCpcFailCnt(0L);
        setEtcSuccessCnt(0L);
        setEtcFailCnt(0L);
        setTotalCpcCnt(0L);
        setTotalEtcCnt(0L);
        setCpcSpecialTypeSum(new HashMap<>());
        setEtcSpecialTypeSum(new HashMap<>());
    }
}
